package com.lgb.DAO;

import com.lgb.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User , Long> {
    //根据用户名和密码查询用户是否存在
    User findByUsernameAndPassword(String username , String password);
}
